<template>
  <el-card class="wisplm-patient" body-style="padding: 0;">
    <el-container class="el-row">
      <el-aside width="36px">
        <el-avatar size="medium" style="margin-top: 100%"
                   :src="avatarUrl"/>
      </el-aside>
      <el-main style="padding: 0">
        <el-card>
          <div class="wisplm-patient-title">
            <span>PAIENT</span>
          </div>
          <div style="text-align: left">
            <span class="wisplm-patient-content">{{ content }}</span>
            <span class="wisplm-patient-mark">+3.5%</span>
          </div>
        </el-card>
      </el-main>
    </el-container>
  </el-card>
</template>

<script>
export default {
  name: "index",
  props: {
    avatarUrl: {
      default: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png'
    },
    content: {
      default: ''
    },
  }
}
</script>

<style scoped>
.wisplm-patient {
  /*width: 200px;*/
  height: 125px;
  margin: 5px 0;
}

.wisplm-patient-title {
  text-align: left;
  font-size: 15px;
  color: #928f8f;
}

.wisplm-patient-content {
  font-size: 25px
}

.wisplm-patient-mark {
  font-size: 10px;
  color: white;
  background-color: green;
  border-radius: 100px;
  padding: 5px
}
</style>
